<% layout("../../includes/layout-form-v2") -%>
<form id="form" class="form-submission backend <%-action%> id_<%- id %>" title="<%-controller%>" action='/backend/<%-controller%>/<%- action %>/<%- id %>' method='post' onsumbit="return myFunction()" >
   
    <div class="box-body">
    
        <div class="input-group">
         <span class="input-group-addon" ><b>Name</b></span>
            <input name="name" type="text" class="form-control" value="<%- record['name'] %>" placeholder="Enter name">
        </div><br/>
        
        <div class="input-group">
         <span class="input-group-addon"><b>Status</b></span>
         <select name="status" class="form-control">
         	<option value="0" <%- (record['status'] == "0")?"selected":"" %>>Enable</option>
         	<option value="1" <%- (record['status'] == "1")?"selected":"" %>>Disable</option>
         </select>
     </div><br />
      
    </div><!-- /.box-body -->

    <div class="box-footer">
        <input type="submit" class="btn btn-primary btn-lg " value="Save" />
    </div>
</form>